package com.power.pojo;

/**
 * Created with IntelliJ IDEA.
 * User: 李辽
 * Date: 2020/10/11 14:13
 * Description:缺陷信息实体
 * Version: V1.0
 */
public class Defect {

    private int defect_details_id;//缺陷详情id
    private  String line_id;//线路编号
    private int defect_id;//缺陷类型id
    private String defect_name;//缺陷类型名称
    private String tower_id;//杆塔编号
    private int defect_grade;//缺陷等级，1为一般，2为严重，3为紧急
    private String inspector_account;//巡检员
    private int intact;//完好率
    private String find_time;//缺陷发现时间
    private String defect_des;//缺陷描述
    private String user_name;//当前用户登录名称

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public int getDefect_details_id() {
        return defect_details_id;
    }

    public void setDefect_details_id(int defect_details_id) {
        this.defect_details_id = defect_details_id;
    }

    public String getLine_id() {
        return line_id;
    }

    public void setLine_id(String line_id) {
        this.line_id = line_id;
    }

    public int getDefect_id() {
        return defect_id;
    }

    public void setDefect_id(int defect_id) {
        this.defect_id = defect_id;
    }

    public String getDefect_name() {
        return defect_name;
    }

    public void setDefect_name(String defect_name) {
        this.defect_name = defect_name;
    }

    public String getTower_id() {
        return tower_id;
    }

    public void setTower_id(String tower_id) {
        this.tower_id = tower_id;
    }

    public int getDefect_grade() {
        return defect_grade;
    }

    public void setDefect_grade(int defect_grade) {
        this.defect_grade = defect_grade;
    }

    public String getInspector_account() {
        return inspector_account;
    }

    public void setInspector_account(String inspector_account) {
        this.inspector_account = inspector_account;
    }

    public int getIntact() {
        return intact;
    }

    public void setIntact(int intact) {
        this.intact = intact;
    }

    public String getFind_time() {
        return find_time;
    }

    public void setFind_time(String find_time) {
        this.find_time = find_time;
    }

    public String getDefect_des() {
        return defect_des;
    }

    public void setDefect_des(String defect_des) {
        this.defect_des = defect_des;
    }

    @Override
    public String toString() {
        return "Defect{" +
                "defect_details_id=" + defect_details_id +
                ", line_id='" + line_id + '\'' +
                ", defect_id=" + defect_id +
                ", defect_name='" + defect_name + '\'' +
                ", tower_id='" + tower_id + '\'' +
                ", defect_grade=" + defect_grade +
                ", inspector_account=" + inspector_account +
                ", intact=" + intact +
                ", find_time='" + find_time + '\'' +
                ", defect_des='" + defect_des + '\'' +
                ", user_name='" + user_name + '\'' +
                '}';
    }
}
